Mint\MRM\DataBase\Models\DashboardModel B

Total Complexity 84
Dependencies 12
Dependents 1
Total lines 812
Lines of code 494
Logical lines of code 217
Comment lines 207
Methods 19
Properties 0

Methods 19

Method Rating Maintainability Complexity Lines of code
get_revenue_data()
A
40 12 55
fetch_orders_metric()
A
42 11 47
fetch_data()
A
44 10 44
get_recent_automation_performance()
A
51 8 24
fetch_automation_data()
S
49 7 28
get_revenue_reports()
S
48 6 37
get_emails_data()
S
38 3 80
get_recent_campaign_performance()
S
50 6 26
get_onboarding_stats()
S
44 4 49
format_email_metric()
S
54 5 21
prepare_dashboard_metrics()
S
65 3 9
get_where_query_for_custom()
S
55 1 19
get_top_cards_data()
S
57 1 17
should_show_checklist()
S
69 2 7
get_where_query_for_last_60_days()
S
71 1 6
get_where_query_for_last_30_days()
S
71 1 6
get_where_query_for_all()
S
72 1 6
get_where_query_for_last_7_days()
S
71 1 6
empty_orders_response()
S
69 1 7